projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2783158
)
testgtk: Don't use deprecated functions in properties example
author
Benjamin Otte
<otte@redhat.com>
Wed, 9 Nov 2011 02:13:43 +0000
(
03:13
+0100)
committer
Benjamin Otte
<otte@redhat.com>
Wed, 9 Nov 2011 02:23:43 +0000
(
03:23
+0100)
tests/testgtk.c
patch
|
blob
|
history
diff --git
a/tests/testgtk.c
b/tests/testgtk.c
index 2680f96968af5f9f16cd8523a5e647e4d5230fbb..53ec833174ccd584b3c9d4fa6e07cd4088d3c5fd 100644
(file)
--- a/
tests/testgtk.c
+++ b/
tests/testgtk.c
@@
-8321,8
+8321,9
@@
find_widget_at_pointer (GdkDevice *device)
if (widget)
{
- gdk_window_get_pointer (gtk_widget_get_window (widget),
- &x, &y, NULL);
+ gdk_window_get_device_position (gtk_widget_get_window (widget),
+ device,
+ &x, &y, NULL);
data.x = x;
data.y = y;